package com.cnostar.demo.service.impl;

import com.cnostar.demo.mapper.SynLogMapper;
import com.cnostar.demo.service.SynLogService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * TODO
 * @Date 2020/3/24 17:20
 * @Author ZhuFeng
 * @Version 2.0
 */
@Service
public class SynLogServiceImpl implements SynLogService {

    @Resource
    SynLogMapper synLogMapper;

    @Override
    public Integer get(String path){
        Integer integer = synLogMapper.countSynLogByPath(path);
        return integer;
    }
}
